package org.freedoit.server.service.data;

import java.io.Serializable;

public interface ReturnResult extends Serializable {

	public static final int CODE_OK = 1;
	public static final int CODE_lOGIN_REQUIRED = 2;
	public static final int CODE_INVALID_REQUEST = 3;
	public static final int CODE_INVALID_DATA = 4;
	public static final int CODE_USER_NOT_EXIST = 11;
	public static final int CODE_AUTH_FAILURE = 12;

	
	public int getCode() ;
	
	public void setCode(int code);
	
	public long getTimestamp();
	
	public void setTimestamp(long timestamp);
}
